/**
 * 
 */
package com.rapsoft.services;

import com.rapsoft.dao.EmployeeDAO;
import com.rapsoft.daoimpl.EmployeeDAOImpl;
import com.rapsoft.pojos.Employee;

/**
 * @author Aravind
 *
 */
public class EmployeeService {

	public Long createEmployee(){
		
		EmployeeDAO employeeDAO = new EmployeeDAOImpl();
		
		Employee employee = new Employee();
		
		employee.setId(new Long(123));
		employee.setName("Aravind");
		employee.setAge(25);
		
		
		
		return employeeDAO.save(employee);
	}
	
}
